﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.BusinessModel.DAL
{
	public interface IProductDAL
	{
		void AddProduct(Product product, IDbTransaction trans);
		void AddTPProduct(TPProduct product, IDbTransaction trans);

		Product ReadProductById(String id);
		Product ReadProductByName(String name);

		Product ReadTpProduct(String tpId, String Id);

		IList<Product> ReadProducts();
	}
}
